package com.heima.model.wemedia.pojos;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description Wmaparticle
 * @Author liujiangyuan
 * @Date 2024-11-26-16:55
 */
@Data
public class Wmaparticle implements Serializable {
    private static final long serialVersionUID = 1L;


    private Integer AuthorId;
    private String AuthorName;
    private String title;
    private String content;
    private Short type;
    private Integer channelId;
    private String labels;
    private Date createdTime;
    private Date submitedTime;
    private Short status;
    private Date publishTime;
    private String reason;
    private Long articleId;
    private String images;
    private Short enable;
    public enum Status{
        NORMAL((short)0),SUBMIT((short)1),FAIL((short)2),ADMIN_AUTH((short)3),ADMIN_SUCCESS((short)4),SUCCESS((short)8),PUBLISHED((short)9);
        short code;
        Status(short code){
            this.code = code;
        }
        public short getCode(){
            return this.code;
        }
    }
}
